package cn.com.api.service.impl;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_match_prize;
import cn.com.api.mapper.ApiU_match_prizeMapper;
import cn.com.api.service.ApiU_match_prizeService;
import cn.com.api.service.impl.base.U_match_prizeServiceImplBase;

/**
 * 
 **/
@Service
public class ApiU_match_prizeServiceImpl extends U_match_prizeServiceImplBase implements ApiU_match_prizeService{
	@Autowired
	private ApiU_match_prizeMapper apiU_match_prizeMapper;
    
	
     	//新增对象后返回记录ID
    public int U_match_prizeInsertion(ApiU_match_prize u_match_prize){
        return this.apiU_match_prizeMapper.U_match_prizeInsertion(u_match_prize);
    }


	@Override
	public List<ApiU_match_prize> findU_match_prizesByMatchId(String id) {
		// TODO Auto-generated method stub
		return this.apiU_match_prizeMapper.findU_match_prizesByMatchId(id);
	}


	@Override
	public int findU_match_prize_countByMatchId(String id) {
		
		return this.apiU_match_prizeMapper.findU_match_prize_countByMatchId(id);
	}
 
}


